package org.xczy.core.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.xczy.core.entity.User;

import java.util.List;

/**
* @author Administrator
* @description 针对表【user】的数据库操作Mapper
* @createDate 2023-05-07 13:34:26
* @Entity org.xczy.geekeradminserver.entity.User
*/
public interface UserMapper extends BaseMapper<User> {
  /**
   * 根据用户id获取角色列表
   * @param id
   * @return
   */
  List<String> getRoleNameByUserId(Integer id);
}




